{if $smarty.session.user_isadmin == "1"}
<div class="wrap">
<div id='adduser_resp' class="ajaxResponse"></div>
<h2>Benutzer erstellen</h2>
<form name="adduser" id="adduser" method="post" 
	action="?module={$smarty.get.module}&sub1={$smarty.get.sub1}&act={$smarty.get.act}"
	onsubmit="onAddNewUser('adduser', 'adduser_resp', 'thelist'); return false;">
	<input type="hidden" name="act" value="adduser" />
	<table class="editform" width="50%" align="center" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_name"><font color=red>*</font>Benutzername</label></th>
			<td width="67%">
			<input name="user_name" id="user_name" type="text" value="" size="40" maxlength="60"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_firstname">Vorname</label></th>
			<td width="67%">
			<input name="user_firstname" id="user_firstname" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_lastname">Nachname</label></th>
			<td width="67%">
			<input name="user_lastname" id="user_lastname" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_email"><font color=red>*</font>Email</label></th>
			<td width="67%">
			<input name="user_email" id="user_email" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="user_pass"><font color=red>*</font>Passwort<br />(zweimal)</label></th>
			<td width="67%">
				<input name="user_password" id="user_password" type="password" value="" size="40" maxlength="64"/>
				<input name="user_password2" id="user_password2" type="password" value="" size="40" maxlength="64"/>
			</td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="is_admin">Administrator</label></th>
			<td width="67%">
				<input name="is_admin" id="is_admin" type="checkbox" value="1"/>
			</td>
		</tr>
		<tr>
			<td width="67%" colspan="2"  class="submit" align="right">
				<input type="image" name="submit" src="../view/admin/images/object_save.png" value="" />
			</td>
		</tr>
	</table>
</form>

</div>
{/if}